#ifndef __VECTOR_H__
#define __VECTOR_H__

#include "Matrix.hpp"

class Vector : public Matrix
{

public:
	Vector( unsigned int m, unsigned int n );
	Vector( unsigned int n );
	Vector( const Vector& v );
	Vector( const Matrix& m );
	virtual ~Vector();

	double& operator()( unsigned int i );
	const double operator()( unsigned int i ) const;
	double& operator[]( unsigned int i );
	const double operator[]( unsigned int i ) const;
	
	Vector transposed() const;
	std::istream& read( std::istream& in );

protected:
	bool _isColumn;

};

#endif

